package com.second.hand.trading.server.dao;

import com.second.hand.trading.server.wb.pojo.Message;
import com.second.hand.trading.server.wb.pojo.ResultMessage;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface WebSocketDao {

    void MessageUserLog(String username,String tousername);


    void MessageLog(String username, String tousername,String message);


    List<Message> Allmessage(String username, String tousername);

    String Avatar(String username);

    List<String> Friend(String username);

    String lastmessage(String username,String tousername);

    String Friendname(String username);

    int num(String username,String tousername);
}
